/*
 * @Author: Jin Biao
 * @Date: 2021-12-26 17:09:10
 * @LastEditTime: 2022-03-16 18:42:10
 * @Description:
 */
import Vue from 'vue';
import App from './App';
import { uploadUrl } from './common/setting';
import store from './store';

// 全局mixins，用于实现setData等功能';
import Mixin from './polyfill/mixins';
Vue.mixin(Mixin);

// 引入uView
import uView from 'uview-ui';
Vue.use(uView);
import myFunctions from './common/myFunction.js'
Vue.use(myFunctions)
// Vue.prototype.BASE_URL = 'https://api.dongfresh.com/';
Vue.prototype.BASE_URL = uploadUrl
Vue.config.productionTip = false;

App.mpType = 'app';
Vue.prototype.$eventBus = new Vue()
const app = new Vue({
	store,
	...App,
});
app.$mount();